package com.softer.wxzj.mapper;

import com.softer.wxzj.entity.BaseOwnerInfo;
import com.softer.wxzj.entity.HouseAndOwner;
import com.softer.wxzj.entity.SysOperator;
import com.softer.wxzj.entity.TransReq;
import com.softer.wxzj.mapper.base.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TransReqMapper extends BaseMapper<TransReq> {
    /**
     * 模糊查询
     * @param transReq
     * @return
     */
    List<TransReq> fuzzyResearch(TransReq transReq);
    /**
     * 过户审核列表
     */
    List<HouseAndOwner> selecthouseFlowState(HouseAndOwner houseAndOwner);
    /**
     * 过户审核列表模糊查询
     */
    List<HouseAndOwner> fuzzyResearchList(HouseAndOwner houseAndOwner);

int updateFlowState(@Param("flowState") String flowState, @Param("id")String id);
}
